home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
Highspeed pascal.adf
/
Interface
/
Input.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-01-16
|
3KB
|
115 lines
Unit Input;
Interface
Uses Timer, Exec;
Type
pInputEvent = ^tInputEvent;
tInputEvent = Record
ie_NextEvent: pInputEvent;
ie_Class: ShortInt;
ie_SubClass: ShortInt;
ie_Code: Integer;
ie_Qualifier: Integer;
Case Integer of
0: (
ie_xy: Record
ie_x: Integer;
ie_y: Integer;
End;
);
1: (
ie_addr: Pointer;
ie_TimeStamp: ttimeval;
);
End;
Const
IECODE_REQCLEAR = $0;
IEQUALIFIER_LALT = $10;
IECLASS_DISKINSERTED = $10;
IND_SETTHRESH = $C;
IECLASS_REQUESTER = $9;
IECODE_KEY_CODE_FIRST = $0;
IEQUALIFIERB_NUMERICPAD = $8;
IEQUALIFIER_RALT = $20;
IEQUALIFIERB_CONTROL = $3;
IECODE_C0_FIRST = $0;
IEQUALIFIERB_MULTIBROADCAST = $B;
IECLASS_ACTIVEWINDOW = $11;
IECODE_C1_FIRST = $80;
IEQUALIFIER_INTERRUPT = $400;
IEQUALIFIERB_REPEAT = $9;
IND_ADDHANDLER = $9;
IECLASS_NULL = $0;
IECLASS_NEWPREFS = $E;
IECODE_LATIN1_FIRST = $A0;
IECODE_KEY_CODE_LAST = $77;
IEQUALIFIERB_RBUTTON = $D;
IEQUALIFIERB_LSHIFT = $0;
IECLASS_MENULIST = $A;
IECLASS_RAWMOUSE = $2;
IECLASS_DISKREMOVED = $F;
IEQUALIFIERB_RSHIFT = $1;
IND_SETMTRIG = $10;
IECODE_C0_LAST = $1F;
IECODE_C1_LAST = $9F;
IECODE_UP_PREFIX = $80;
IECLASS_MAX = $12;
IECODE_LATIN1_LAST = $FF;
IEQUALIFIERB_LEFTBUTTON = $E;
IECLASS_GADGETDOWN = $7;
IEQUALIFIER_NUMERICPAD = $100;
IND_SETMTYPE = $F;
IND_REMHANDLER = $A;
IECODE_NOBUTTON = $FF;
IEQUALIFIER_CONTROL = $8;
IND_SETMPORT = $E;
IECLASS_CLOSEWINDOW = $B;
IEQUALIFIER_MULTIBROADCAST = $800;
IEQUALIFIER_REPEAT = $200;
IEQUALIFIERB_LCOMMAND = $6;
IEQUALIFIERB_CAPSLOCK = $2;
IECODE_ASCII_FIRST = $20;
IEQUALIFIER_RBUTTON = $2000;
IEQUALIFIERB_RCOMMAND = $7;
IEQUALIFIERB_MIDBUTTON = $C;
IEQUALIFIERB_RELATIVEMOUSE = $F;
IEQUALIFIER_LSHIFT = $1;
IECLASS_INACTIVEWINDOW = $12;
IECODE_LBUTTON = $68;
IEQUALIFIER_RSHIFT = $2;
IECODE_MBUTTON = $6A;
IEQUALIFIERB_LALT = $4;
IECLASS_RAWKEY = $1;
IECODE_RBUTTON = $69;
IECODE_COMM_CODE_FIRST = $78;
IEQUALIFIER_LEFTBUTTON = $4000;
IECODE_ASCII_LAST = $7E;
IEQUALIFIERB_RALT = $5;
IECODE_ASCII_DEL = $7F;
IEQUALIFIERB_INTERRUPT = $A;
IECODE_REQSET = $1;
IEQUALIFIER_LCOMMAND = $40;
IND_WRITEEVENT = $B;
IECLASS_POINTERPOS = $4;
IECLASS_SIZEWINDOW = $C;
IECODE_COMM_CODE_LAST = $7F;
IECLASS_TIMER = $6;
IECODE_NEWACTIVE = $1;
IECLASS_EVENT = $3;
IEQUALIFIER_CAPSLOCK = $4;
IEQUALIFIER_RCOMMAND = $80;
IEQUALIFIER_MIDBUTTON = $1000;
IEQUALIFIER_RELATIVEMOUSE = $8000;
IND_SETPERIOD = $D;
IECLASS_GADGETUP = $8;
IECLASS_REFRESHWINDOW = $D;
End.